package com.koron.order.overhaul.bean.query;

import com.koron.bean.query.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author twcao
 * @title: OverhaulOrderQuery
 * @projectName GDH_EAM_V2
 * @description: 大修工单列表查询条件
 * @date 2021/9/2914:37
 */
@Data
@ApiModel("大修工单列表查询条件")
public class OverhaulOrderQuery extends PageQuery {

    @ApiModelProperty("工单id")
    private String id;

    @ApiModelProperty(value = "大修工单编码")
    private String code;

    @ApiModelProperty(value = "大修工单标题")
    private String title;

    @ApiModelProperty(value = "工单状态")
    private String status;

    @ApiModelProperty(value = "状态列表")
    private List<String> statusList;

    @ApiModelProperty(value = "计划开始时间")
    private Date planStartTime;

    @ApiModelProperty(value = "计划结束时间")
    private Date planEndTime;

    @ApiModelProperty("删除标识")
    private Boolean deleteFlag = false;

    @ApiModelProperty(value = "设备管理单位IDList")
    private List<String> deptManageList;

    @ApiModelProperty(value = "作业单位IDList")
    private List<String> deptWorkList;

    @ApiModelProperty(value = "当前账号")
    private String currAccount;

    @ApiModelProperty(value = "设备id")
    private String equipmentId;

    @ApiModelProperty(value = "设备名称")
    private String equipmentName;

    @ApiModelProperty(value = "创建开始时间")
    private Date createStartTime;

    @ApiModelProperty(value = "创建结束时间")
    private Date createEndTime;

    @ApiModelProperty(value = "创建人姓名")
    private String createByName;

    @ApiModelProperty(value = "工单来源")
    private String source;

    @ApiModelProperty(value = "工单来源的ID")
    private String sourceId;

    @ApiModelProperty(value = "是否需要归集到父节点查询")
    private boolean collectionSearch;

    @ApiModelProperty(value = "设备id集合")
    private List<String> equipmentIds;

    private List<String> ids;
}
